package com.hsmw.domain;

import com.baomidou.mybatisplus.annotation.TableField;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.hsmw.common.base.BaseModel;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import org.springframework.format.annotation.DateTimeFormat;

import java.time.LocalDateTime;
import java.util.HashMap;
import java.util.List;

/**
 * <p>
 * 
 * </p>
 *
 * @author tjy
 * @since 2021-08-13
 */
@Data
@EqualsAndHashCode(callSuper = true)
@ApiModel(value="HsmwReportRecord对象", description="")
public class HsmwReportRecord extends BaseModel {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "确认时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm")
    private LocalDateTime confirmationTime;

    @ApiModelProperty(value = "确认内容")
    private String confirmationContent;

    @ApiModelProperty(value = "受理人名称")
    private String receiverName;

    @ApiModelProperty(value = "受理人部门名称")
    private String receiverDeptName;

    @ApiModelProperty(value = "受理人手机号")
    private String receiverPhone;

    @ApiModelProperty(value = "解决时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime solveTime;

    @ApiModelProperty(value = "解决内容")
    private String solveContent;

    @ApiModelProperty(value = "确认人")
    private String confirmationName;

    @ApiModelProperty(value = "确认人手机号")
    private String confirmationPhone;

    @ApiModelProperty(value = "回访时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm")
    private LocalDateTime visitTime;

    @ApiModelProperty(value = "回访内容")
    private String visitContent;

    @ApiModelProperty(value = "关闭时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm")
    private LocalDateTime closeTime;

    @ApiModelProperty(value = "关闭内容")
    private String closeContent;

     private String reportId;

    @ApiModelProperty(value = "上报状态")
    private String reportStatus;

    @ApiModelProperty(value = "司机名")
    private String driverName;

    @ApiModelProperty(value = "封禁天数")
    private String duration;

    @ApiModelProperty(value = "扣除积分")
    private String deductPoints;


    @ApiModelProperty(value = "开始时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime startTime;

    @ApiModelProperty(value = "受理人userId")
    private String receiverId;

    @ApiModelProperty(value = "图片列表")
    @TableField(exist = false)
    private List<HashMap> picList;

    @ApiModelProperty(value = "图片列表")
    @TableField(exist = false)
    private List<HsmwPicture> hsmwPictures;

}
